package com.suncaper.wcss.common.utls;

import java.util.Arrays;
import java.util.List;

import  com.suncaper.wcss.common.BaseConstant;
import static com.suncaper.wcss.common.BaseConstant.DIFF_BKN_KEY;
import static com.suncaper.wcss.common.BaseConstant.DIFF_YBKN_KEY;

public class StringCastUtils {
    public static List<String> levelCast(String level){
        if(DIFF_BKN_KEY.equals(level)){
            return Arrays.asList(BaseConstant.DIFF_BKN_VALUE,BaseConstant.DIFF_TSKN_VALUE,BaseConstant.DIFF_YBKN_VALUE);
        }else if(DIFF_YBKN_KEY.equals(level)){
            return Arrays.asList(BaseConstant.DIFF_TSKN_VALUE,BaseConstant.DIFF_YBKN_VALUE);
        }
        return Arrays.asList(BaseConstant.DIFF_TSKN_VALUE);
    }
}
